package com.upcode.weighing.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;
@Data
@ApiModel(value="", description="检测记录查询参数")
public class DetectRecordQueryParam {
    @ApiModelProperty("开始时间")
    private String startTime;
    @ApiModelProperty("结束时间")
    private String endTime;
    @ApiModelProperty("车型")
    private Integer vehicleType;
    @ApiModelProperty("车牌号")
    private String plateNo;
    @ApiModelProperty("车牌颜色")
    private Integer plateColor;
    @ApiModelProperty("所有人")
    private String owner;
    @ApiModelProperty("驾驶员")
    private String driver;
    @ApiModelProperty("轴数")
    private int selectAxisNum;
    @ApiModelProperty("执法人id")
    private String selectEnforcerId;
    @ApiModelProperty("属地,车牌的前两个字符")
    private String belongAddr;
    @ApiModelProperty("执法人姓名")
    private String selectEnforcerName;
    @ApiModelProperty("上传类型,(0未上传,1已上传)")
    private int uploadType;
    @ApiModelProperty("超限参数类型")
    private int overType;
    @ApiModelProperty("超限值")
    private double overValue;
    public static Map<Integer,String> axisTypeMap;
    public static Map<Integer,String> uploadTypeMap;
    public static Map<Integer,String> overTypeMap;
    public static Map<Integer,String> overTypeStatMap;
    public static final int OVER_TYPE_ALL=1;//全部
    public static final int OVER_TYPE_NOT=2;//未超限
    public static final int OVER_TYPE_TOTAL_RATIO=4;//总重超限率
    public static final int OVER_TYPE_TOTAL=3;//总重超限
    public static final int OVER_TYPE_AXIS=5;//轴荷超限
    public static final int OVER_TYPE_AXIS_RATIO=6;//轴荷超限率
    public static final int OVER_TYPE_TWO=7;//卸载复检

}
